package com.china.book.domain;

import lombok.Data;
import lombok.ToString;

import javax.persistence.*;

/**
 * Created by Administrator on 2017/2/11 0011.
 */
@Entity
@Table(name = "um_user")
@Data
@ToString
public class UserEntity {
    @Id
    @Column(name = "id")
    private int id;
    @Basic
    @Column(name = "username")
    private String username;
    @Basic
    @Column(name = "password")
    private String password;
}
